<%@page import="com.zhida84.Convert.StringJM"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	import="java.util.*,java.sql.*,com.zhida84.Convert.DESJM,com.zhida84.Convert.Base64CodeO,com.zhida84.Entity.UserTab,com.zhida84.Impl.UserImpl,com.zhida84.Dao.UserDao"
	pageEncoding="UTF-8"%>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="author" content="shangzhengbo&sunchangxing" />
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>美食推荐</title>
<script type="text/javascript">
	/**
	function onBridgeReady() {
		WeixinJSBridge.call('hideOptionMenu');
	}
	if (typeof WeixinJSBridge == "undefined") {
		if (document.addEventListener) {
			document.addEventListener('WeixinJSBridgeReady', onBridgeReady,
					false);
		} else if (document.attachEvent) {
			document.attachEvent('WeixinJSBridgeReady', onBridgeReady);
			document.attachEvent('onWeixinJSBridgeReady', onBridgeReady);
		}
	} else {
		onBridgeReady();
	}
	// 对浏览器的UserAgent进行正则匹配，不含有微信独有标识的则为其他浏览器
	var useragent = navigator.userAgent;
	if (useragent.match(/MicroMessenger/i) != 'MicroMessenger') {
		// 这里警告框会阻塞当前页面继续加载
		var opened = window.open('about:blank', '_self');
		opened.opener = null;
		opened.close();
		window.location.href = "error/wechat.html"
	}*/
</script>
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/css/personal/personal.css">
<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/css/registarr.css">
<script type="text/javascript"
	src="<%=request.getContextPath()%>/js/jquery.min.js"></script>

</head>
<body>
	<%
		request.setCharacterEncoding("utf-8");
		String strpid = (String) request.getAttribute("pid");
		String phone = Base64CodeO.decode(strpid);
		UserDao userDao = new UserImpl();
		ResultSet rs = userDao.valPhone(strpid);
		String name = "请完善信息";
		String nid = "13812111";
		while (rs.next()) {
			nid = rs.getString("userId");
			name = rs.getString("userReName");
		}
		String sxc_id = Base64CodeO.encoded(nid);
		DESJM de = new DESJM();
		String myjob = de.encrypt(nid);
	%>
	<jsp:include page="../../Share/top_back.jsp"></jsp:include>
	<script type="text/javascript">
		$("#alltitle").html("个人中心");
		function backhistory() {
			window.location.href = "index.jsp";
		}
	</script>
	<div style="margin-top: 1em;">
		<!--存放用户ID-->
		<input type="hidden" id="userId" value="257708">
		<ul onclick="grzx()">
			<li class="personalli"><img
				src="<%=request.getContextPath()%>/images/personal/head1.png"></li>
			<li><a><span><%=name%></span></a> <br> <span><%=phone%></span>
			</li>
		</ul>
		<ul>
			<li class="lileft lichildf">&nbsp;</li>
			<li class="listbtn"><a class="bg"
				href="<%=request.getContextPath()%>/User/personal/parttimejob.jsp">我的收藏</a></li>
			<li class="lileft lichildteam">&nbsp;</li>
			<li class="listbtn"><a
				href="<%=request.getContextPath()%>/User/personal/myLead.jsp">我的留言</a></li>
		</ul>
	</div>
	<div onclick="excit()" class="excit">退出登录</div>
	<script type="text/javascript"
		src="<%=request.getContextPath()%>/js/excit.js"></script>
</body>
</html>
